Package-level declarations

Types

Link copied to clipboard
data class CustomDpEntry(val uiModeType: UiModeType? = null, val dpQualifierEntry: DpQualifierEntry? = null, val orientation: Orientation? = Orientation.DEFAULT, val customValue: ERROR CLASS: Symbol not found for Dp, val finalQualifierResolver: DpQualifier? = null, val priority: Int, val inverter: Inverter? = Inverter.DEFAULT)

EN Represents a custom dimension entry with qualifiers and priority. Used by the DimenPower class to define specific values for screen conditions.

Link copied to clipboard
data class CustomSpEntry(val uiModeType: UiModeType? = null, val dpQualifierEntry: DpQualifierEntry? = null, val orientation: Orientation = Orientation.DEFAULT, val customValue: Number, val finalQualifierResolver: DpQualifier? = null, val priority: Int, val inverter: Inverter = Inverter.DEFAULT, val fontScale: Boolean = true)

EN Represents a custom Sp entry with qualifiers and priority, for the Compose Sp builder.

Link copied to clipboard
class DimenPower(val initialBaseDp: ERROR CLASS: Symbol not found for Dp, val sortedCustomEntries: List<CustomDpEntry> = emptyList(), val ignoreMultiWindows: Boolean = false, val applyAspectRatio: Boolean = false, val customSensitivityK: Float? = null)

EN A Stable class that allows defining custom dimensions based on screen qualifiers (UiModeType, Width, Height, Smallest Width).

Link copied to clipboard
class PowerSp(val initialBaseValue: Number, val defaultFontScale: Boolean = true, val sortedCustomEntries: List<CustomSpEntry> = emptyList(), val ignoreMultiWindows: Boolean = false, val applyAspectRatio: Boolean = false, val customSensitivityK: Float? = null)

EN A Stable Compose class that allows defining custom Sp text dimensions based on screen qualifiers (UiModeType, Width, Height, Smallest Width).

Properties

Link copied to clipboard
val Number.hema: ERROR CLASS: Symbol not found for TextUnit

a variant explicitly with applyAspectRatio

Link copied to clipboard
val Number.hemi: ERROR CLASS: Symbol not found for TextUnit

i variant explicitly with ignoreMultiWindows

Link copied to clipboard
val Number.hemia: ERROR CLASS: Symbol not found for TextUnit

ia variant explicitly with both

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val Number.hspa: ERROR CLASS: Symbol not found for TextUnit

a variant explicitly with applyAspectRatio

Link copied to clipboard
val Number.hspi: ERROR CLASS: Symbol not found for TextUnit

i variant explicitly with ignoreMultiWindows

Link copied to clipboard
val Number.hspia: ERROR CLASS: Symbol not found for TextUnit

ia variant explicitly with both

Link copied to clipboard
val Number.hspLw: ERROR CLASS: Symbol not found for TextUnit

EN Extension for Int with dynamic scaling based on the Screen Height (hDP), but in landscape orientation it acts as Screen Width (wDP). Usage example: 32.hspLw.

Link copied to clipboard
val Number.hspLwa: ERROR CLASS: Symbol not found for TextUnit

a variant explicitly with applyAspectRatio

Link copied to clipboard
val Number.hspLwi: ERROR CLASS: Symbol not found for TextUnit

i variant explicitly with ignoreMultiWindows

Link copied to clipboard
val Number.hspLwia: ERROR CLASS: Symbol not found for TextUnit

ia variant explicitly with both

Link copied to clipboard
val Number.hspPw: ERROR CLASS: Symbol not found for TextUnit

EN Extension for Int with dynamic scaling based on the Screen Height (hDP), but in portrait orientation it acts as Screen Width (wDP). Usage example: 32.hspPw.

Link copied to clipboard
val Number.hspPwa: ERROR CLASS: Symbol not found for TextUnit

a variant explicitly with applyAspectRatio

Link copied to clipboard
val Number.hspPwi: ERROR CLASS: Symbol not found for TextUnit

i variant explicitly with ignoreMultiWindows

Link copied to clipboard
val Number.hspPwia: ERROR CLASS: Symbol not found for TextUnit

ia variant explicitly with both

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val Number.pwhdp: ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on the Screen Height (hDP). Usage example: 32.hdp.

Link copied to clipboard
val Number.pwhdpa: ERROR CLASS: Symbol not found for Dp

a variant explicitly with applyAspectRatio

Link copied to clipboard
Link copied to clipboard
val Number.pwhdpi: ERROR CLASS: Symbol not found for Dp

i variant explicitly with ignoreMultiWindows

Link copied to clipboard
val Number.pwhdpia: ERROR CLASS: Symbol not found for Dp

ia variant explicitly with both

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val Number.pwhdpLw: ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on the Screen Height (hDP), but in landscape orientation it acts as Screen Width (wDP). Usage example: 32.hdpLw.

Link copied to clipboard
val Number.pwhdpLwa: ERROR CLASS: Symbol not found for Dp

a variant explicitly with applyAspectRatio

Link copied to clipboard
val Number.pwhdpLwi: ERROR CLASS: Symbol not found for Dp

i variant explicitly with ignoreMultiWindows

Link copied to clipboard
val Number.pwhdpLwia: ERROR CLASS: Symbol not found for Dp

ia variant explicitly with both

Link copied to clipboard
val Number.pwhdpPw: ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on the Screen Height (hDP), but in portrait orientation it acts as Screen Width (wDP). Usage example: 32.hdpPw.

Link copied to clipboard
val Number.pwhdpPwa: ERROR CLASS: Symbol not found for Dp

a variant explicitly with applyAspectRatio

Link copied to clipboard
val Number.pwhdpPwi: ERROR CLASS: Symbol not found for Dp

i variant explicitly with ignoreMultiWindows

Link copied to clipboard
val Number.pwhdpPwia: ERROR CLASS: Symbol not found for Dp

ia variant explicitly with both

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val Number.pwhem: ERROR CLASS: Symbol not found for TextUnit

EN Extension for Int with dynamic scaling based on the Screen Height (hDP), but without respecting the system font scale. Usage example: 32.pwhem.

Link copied to clipboard
val Number.pwhsp: ERROR CLASS: Symbol not found for TextUnit

EN Extension for Int with dynamic scaling based on the Screen Height (hDP). Usage example: 32.pwhsp.

Link copied to clipboard
val Number.pwsdp: ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on the Smallest Width (swDP). Usage example: 16.sdp.

Link copied to clipboard
val Number.pwsdpa: ERROR CLASS: Symbol not found for Dp

a variant explicitly with applyAspectRatio

Link copied to clipboard
Link copied to clipboard
val Number.pwsdpi: ERROR CLASS: Symbol not found for Dp

i variant explicitly with ignoreMultiWindows

Link copied to clipboard
val Number.pwsdpia: ERROR CLASS: Symbol not found for Dp

ia variant explicitly with both

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val Number.pwsdpLh: ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on Smallest Width (swDP), but in landscape orientation it acts as Screen Height (hDP). Usage example: 32.sdpLh.

Link copied to clipboard
val Number.pwsdpLha: ERROR CLASS: Symbol not found for Dp

a variant explicitly with applyAspectRatio

Link copied to clipboard
val Number.pwsdpLhi: ERROR CLASS: Symbol not found for Dp

i variant explicitly with ignoreMultiWindows

Link copied to clipboard
val Number.pwsdpLhia: ERROR CLASS: Symbol not found for Dp

ia variant explicitly with both

Link copied to clipboard
val Number.pwsdpLw: ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on Smallest Width (swDP), but in landscape orientation it acts as Screen Width (wDP). Usage example: 32.sdpLw.

Link copied to clipboard
val Number.pwsdpLwa: ERROR CLASS: Symbol not found for Dp

a variant explicitly with applyAspectRatio

Link copied to clipboard
val Number.pwsdpLwi: ERROR CLASS: Symbol not found for Dp

i variant explicitly with ignoreMultiWindows

Link copied to clipboard
val Number.pwsdpLwia: ERROR CLASS: Symbol not found for Dp

ia variant explicitly with both

Link copied to clipboard
val Number.pwsdpPh: ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on Smallest Width (swDP), but in portrait orientation it acts as Screen Height (hDP). Usage example: 32.sdpPh.

Link copied to clipboard
val Number.pwsdpPha: ERROR CLASS: Symbol not found for Dp

a variant explicitly with applyAspectRatio

Link copied to clipboard
val Number.pwsdpPhi: ERROR CLASS: Symbol not found for Dp

i variant explicitly with ignoreMultiWindows

Link copied to clipboard
val Number.pwsdpPhia: ERROR CLASS: Symbol not found for Dp

ia variant explicitly with both

Link copied to clipboard
val Number.pwsdpPw: ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on Smallest Width (swDP), but in portrait orientation it acts as Screen Width (wDP). Usage example: 32.sdpPw.

Link copied to clipboard
val Number.pwsdpPwa: ERROR CLASS: Symbol not found for Dp

a variant explicitly with applyAspectRatio

Link copied to clipboard
val Number.pwsdpPwi: ERROR CLASS: Symbol not found for Dp

i variant explicitly with ignoreMultiWindows

Link copied to clipboard
val Number.pwsdpPwia: ERROR CLASS: Symbol not found for Dp

ia variant explicitly with both

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val Number.pwsem: ERROR CLASS: Symbol not found for TextUnit

EN Extension for Int with dynamic scaling based on the Smallest Width (swDP), but without respecting the system font scale. Usage example: 16.pwsem.

Link copied to clipboard
val Number.pwsema: ERROR CLASS: Symbol not found for TextUnit

a variant explicitly with applyAspectRatio

Link copied to clipboard
val Number.pwsemi: ERROR CLASS: Symbol not found for TextUnit

i variant explicitly with ignoreMultiWindows

Link copied to clipboard
val Number.pwsemia: ERROR CLASS: Symbol not found for TextUnit

ia variant explicitly with both

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val Number.pwssp: ERROR CLASS: Symbol not found for TextUnit

EN Extension for Int with dynamic scaling based on the Smallest Width (swDP). Usage example: 16.pwssp.

Link copied to clipboard
val Number.pwwdp: ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on the Screen Width (wDP). Usage example: 100.wdp.

Link copied to clipboard
val Number.pwwdpa: ERROR CLASS: Symbol not found for Dp

a variant explicitly with applyAspectRatio

Link copied to clipboard
Link copied to clipboard
val Number.pwwdpi: ERROR CLASS: Symbol not found for Dp

i variant explicitly with ignoreMultiWindows

Link copied to clipboard
val Number.pwwdpia: ERROR CLASS: Symbol not found for Dp

ia variant explicitly with both

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val Number.pwwdpLh: ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on the Screen Width (wDP), but in landscape orientation it acts as Screen Height (hDP). Usage example: 100.wdpLh.

Link copied to clipboard
val Number.pwwdpLha: ERROR CLASS: Symbol not found for Dp

a variant explicitly with applyAspectRatio

Link copied to clipboard
val Number.pwwdpLhi: ERROR CLASS: Symbol not found for Dp

i variant explicitly with ignoreMultiWindows

Link copied to clipboard
val Number.pwwdpLhia: ERROR CLASS: Symbol not found for Dp

ia variant explicitly with both

Link copied to clipboard
val Number.pwwdpPh: ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on the Screen Width (wDP), but in portrait orientation it acts as Screen Height (hDP). Usage example: 100.wdpPh.

Link copied to clipboard
val Number.pwwdpPha: ERROR CLASS: Symbol not found for Dp

a variant explicitly with applyAspectRatio

Link copied to clipboard
val Number.pwwdpPhi: ERROR CLASS: Symbol not found for Dp

i variant explicitly with ignoreMultiWindows

Link copied to clipboard
val Number.pwwdpPhia: ERROR CLASS: Symbol not found for Dp

ia variant explicitly with both

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val Number.pwwem: ERROR CLASS: Symbol not found for TextUnit

EN Extension for Int with dynamic scaling based on the Screen Width (wDP), but without respecting the system font scale. Usage example: 100.pwwem.

Link copied to clipboard
val Number.pwwsp: ERROR CLASS: Symbol not found for TextUnit

EN Extension for Int with dynamic scaling based on the Screen Width (wDP). Usage example: 100.pwwsp.

Link copied to clipboard
val Number.sspa: ERROR CLASS: Symbol not found for TextUnit

a variant explicitly with applyAspectRatio

Link copied to clipboard
val Number.sspi: ERROR CLASS: Symbol not found for TextUnit

i variant explicitly with ignoreMultiWindows

Link copied to clipboard
val Number.sspia: ERROR CLASS: Symbol not found for TextUnit

ia variant explicitly with both

Link copied to clipboard
val Number.sspLh: ERROR CLASS: Symbol not found for TextUnit

EN Extension for Int with dynamic scaling based on Smallest Width (swDP), but in landscape orientation it acts as Screen Height (hDP). Usage example: 32.sspLh.

Link copied to clipboard
val Number.sspLha: ERROR CLASS: Symbol not found for TextUnit

a variant explicitly with applyAspectRatio

Link copied to clipboard
val Number.sspLhi: ERROR CLASS: Symbol not found for TextUnit

i variant explicitly with ignoreMultiWindows

Link copied to clipboard
val Number.sspLhia: ERROR CLASS: Symbol not found for TextUnit

ia variant explicitly with both

Link copied to clipboard
val Number.sspLw: ERROR CLASS: Symbol not found for TextUnit

EN Extension for Int with dynamic scaling based on Smallest Width (swDP), but in landscape orientation it acts as Screen Width (wDP). Usage example: 32.sspLw.

Link copied to clipboard
val Number.sspLwa: ERROR CLASS: Symbol not found for TextUnit

a variant explicitly with applyAspectRatio

Link copied to clipboard
val Number.sspLwi: ERROR CLASS: Symbol not found for TextUnit

i variant explicitly with ignoreMultiWindows

Link copied to clipboard
val Number.sspLwia: ERROR CLASS: Symbol not found for TextUnit

ia variant explicitly with both

Link copied to clipboard
val Number.sspPh: ERROR CLASS: Symbol not found for TextUnit

EN Extension for Int with dynamic scaling based on Smallest Width (swDP), but in portrait orientation it acts as Screen Height (hDP). Usage example: 32.sspPh.

Link copied to clipboard
val Number.sspPha: ERROR CLASS: Symbol not found for TextUnit

a variant explicitly with applyAspectRatio

Link copied to clipboard
val Number.sspPhi: ERROR CLASS: Symbol not found for TextUnit

i variant explicitly with ignoreMultiWindows

Link copied to clipboard
val Number.sspPhia: ERROR CLASS: Symbol not found for TextUnit

ia variant explicitly with both

Link copied to clipboard
val Number.sspPw: ERROR CLASS: Symbol not found for TextUnit

EN Extension for Int with dynamic scaling based on Smallest Width (swDP), but in portrait orientation it acts as Screen Width (wDP). Usage example: 32.sspPw.

Link copied to clipboard
val Number.sspPwa: ERROR CLASS: Symbol not found for TextUnit

a variant explicitly with applyAspectRatio

Link copied to clipboard
val Number.sspPwi: ERROR CLASS: Symbol not found for TextUnit

i variant explicitly with ignoreMultiWindows

Link copied to clipboard
val Number.sspPwia: ERROR CLASS: Symbol not found for TextUnit

ia variant explicitly with both

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val Number.wema: ERROR CLASS: Symbol not found for TextUnit

a variant explicitly with applyAspectRatio

Link copied to clipboard
val Number.wemi: ERROR CLASS: Symbol not found for TextUnit

i variant explicitly with ignoreMultiWindows

Link copied to clipboard
val Number.wemia: ERROR CLASS: Symbol not found for TextUnit

ia variant explicitly with both

Link copied to clipboard
val Number.wemPh: ERROR CLASS: Symbol not found for TextUnit

EN Extension for Int with dynamic scaling based on the Screen Width (wDP), but without respecting the system font scale, and in portrait orientation it acts as Screen Height (hDP). Usage example: 100.wemPh.

Link copied to clipboard
val Number.wemPha: ERROR CLASS: Symbol not found for TextUnit

a variant explicitly with applyAspectRatio

Link copied to clipboard
val Number.wemPhi: ERROR CLASS: Symbol not found for TextUnit

i variant explicitly with ignoreMultiWindows

Link copied to clipboard
val Number.wemPhia: ERROR CLASS: Symbol not found for TextUnit

ia variant explicitly with both

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val Number.wspa: ERROR CLASS: Symbol not found for TextUnit

a variant explicitly with applyAspectRatio

Link copied to clipboard
val Number.wspi: ERROR CLASS: Symbol not found for TextUnit

i variant explicitly with ignoreMultiWindows

Link copied to clipboard
val Number.wspia: ERROR CLASS: Symbol not found for TextUnit

ia variant explicitly with both

Link copied to clipboard
val Number.wspLh: ERROR CLASS: Symbol not found for TextUnit

EN Extension for Int with dynamic scaling based on the Screen Width (wDP), but in landscape orientation it acts as Screen Height (hDP). Usage example: 100.wspLh.

Link copied to clipboard
val Number.wspLha: ERROR CLASS: Symbol not found for TextUnit

a variant explicitly with applyAspectRatio

Link copied to clipboard
val Number.wspLhi: ERROR CLASS: Symbol not found for TextUnit

i variant explicitly with ignoreMultiWindows

Link copied to clipboard
val Number.wspLhia: ERROR CLASS: Symbol not found for TextUnit

ia variant explicitly with both

Link copied to clipboard
val Number.wspPh: ERROR CLASS: Symbol not found for TextUnit

EN Extension for Int with dynamic scaling based on the Screen Width (wDP), but in portrait orientation it acts as Screen Height (hDP). Usage example: 100.wspPh.

Link copied to clipboard
val Number.wspPha: ERROR CLASS: Symbol not found for TextUnit

a variant explicitly with applyAspectRatio

Link copied to clipboard
val Number.wspPhi: ERROR CLASS: Symbol not found for TextUnit

i variant explicitly with ignoreMultiWindows

Link copied to clipboard
val Number.wspPhia: ERROR CLASS: Symbol not found for TextUnit

ia variant explicitly with both

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
internal fun calculatePowerDpCompose(baseValue: Float, configuration: Configuration, qualifier: DpQualifier, inverter: Inverter, ignoreMultiWindows: Boolean, applyAspectRatio: Boolean, customSensitivityK: Float?, context: Context? = null): Float
Link copied to clipboard
internal fun calculatePowerSpValueCompose(baseValue: Float, qualifier: DpQualifier, inverter: Inverter, ignoreMultiWindows: Boolean, applyAspectRatio: Boolean, customSensitivityK: Float?, configuration: Configuration): Float

EN Internal logic to calculate the scaled SP value before density/font-scale adjustment. PT Lógica interna para calcular o valor SP escalado antes do ajuste de densidade/fonte.

Link copied to clipboard
internal fun getQualifierValue(qualifier: DpQualifier, configuration: Configuration): Float

EN Gets the actual value from the Configuration for the given DpQualifier.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.hspMode(modeValue: Number, uiModeType: UiModeType, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for TextUnit

EN Extension for TextUnit (Sp) with dynamic scaling based on Screen Height (hDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the device matches the specified uiModeType, it uses modeValue instead.

fun Number.hspMode(modeValue: Number, uiModeType: UiModeType, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for TextUnit

EN Extension for Int with dynamic scaling based on Screen Height (hDP).

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.hspModePlain(modeValue: Number, uiModeType: UiModeType, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for TextUnit

EN Extension for TextUnit (Sp) with dynamic scaling based on Screen Height (hDP). Returns the original raw TextUnit value if the condition is not met. When the device matches the specified uiModeType, it uses modeValue instead.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.hspModePlainPx(modeValue: Number, uiModeType: UiModeType, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float
Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.hspModePx(modeValue: Number, uiModeType: UiModeType, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float
fun Number.hspModePx(modeValue: Number, uiModeType: UiModeType, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of hspMode. PT Variante em Pixel (Float) de hspMode.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.hspQualifier(qualifiedValue: Number, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for TextUnit

EN Extension for TextUnit (Sp) with dynamic scaling based on Screen Height (hDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the screen metric for qualifierType is >= qualifierValue, it uses qualifiedValue instead.

fun Number.hspQualifier(qualifiedValue: Number, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for TextUnit

EN Extension for TextUnit (Sp) with dynamic scaling based on Screen Height (hDP). Uses the base value by default, but when the screen metric for qualifierType is >= qualifierValue, it uses qualifiedValue instead. Usage example: 30.hspQualifier(50, DpQualifier.HEIGHT, 800) → 30.pwhsp by default, 50.pwhsp when screenHeightDp >= 800.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.hspQualifierPlain(qualifiedValue: Number, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for TextUnit

EN Extension for TextUnit (Sp) with dynamic scaling based on Screen Height (hDP). Returns the original raw TextUnit value if the condition is not met. When the screen metric for qualifierType is >= qualifierValue, it uses qualifiedValue instead.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.hspQualifierPlainPx(qualifiedValue: Number, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of hspQualifierPlain. PT Variante em Pixel (Float) de hspQualifierPlain.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.hspQualifierPx(qualifiedValue: Number, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float
fun Number.hspQualifierPx(qualifiedValue: Number, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of hspQualifier. PT Variante em Pixel (Float) de hspQualifier.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.hspRotate(rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.HEIGHT, orientation: Orientation = Orientation.LANDSCAPE, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for TextUnit

EN Extension for TextUnit (Sp) with dynamic scaling based on Screen Height (hDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the device is in the specified orientation, it uses rotationValue scaled with the given finalQualifierResolver.

fun Number.hspRotate(rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.HEIGHT, orientation: Orientation = Orientation.LANDSCAPE, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for TextUnit

EN Extension for Int with dynamic scaling based on Screen Height (hDP).

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.hspRotatePlain(rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.HEIGHT, orientation: Orientation = Orientation.LANDSCAPE, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for TextUnit

EN Extension for TextUnit (Sp) with dynamic scaling based on Screen Height (hDP). Returns the original raw TextUnit value if the condition is not met. When the device is in the specified orientation, it uses rotationValue scaled with the given finalQualifierResolver.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.hspRotatePlainPx(rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.HEIGHT, orientation: Orientation = Orientation.LANDSCAPE, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of hspRotatePlain. PT Variante em Pixel (Float) de hspRotatePlain.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.hspRotatePx(rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.HEIGHT, orientation: Orientation = Orientation.LANDSCAPE, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float
fun Number.hspRotatePx(rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.HEIGHT, orientation: Orientation = Orientation.LANDSCAPE, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of hspRotate. PT Variante em Pixel (Float) de hspRotate.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.hspScreen(screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for TextUnit

EN Extension for TextUnit (Sp) with dynamic scaling based on Screen Height (hDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead.

fun Number.hspScreen(screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for TextUnit

EN Extension for TextUnit (Sp) with dynamic scaling based on Screen Height (hDP). Uses the base value by default, but when the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead. Usage example: 30.hspScreen(50, UiModeType.TELEVISION, DpQualifier.HEIGHT, 800) → 30.pwhsp by default, 50.pwhsp on television with height >= 800.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.hspScreenPlain(screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for TextUnit

EN Extension for TextUnit (Sp) with dynamic scaling based on Screen Height (hDP). Returns the original raw TextUnit value if the condition is not met. When the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.hspScreenPlainPx(screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of hspScreenPlain. PT Variante em Pixel (Float) de hspScreenPlain.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.hspScreenPx(screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float
fun Number.hspScreenPx(screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of hspScreen. PT Variante em Pixel (Float) de hspScreen.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.powerDp(): DimenPower

EN Starts the build chain for the custom dimension DimenPower from a base Dp. PT Inicia a cadeia de construção para a dimensão customizada DimenPower a partir de um Dp base.

EN Starts the build chain for the custom dimension DimenPower from a base Int. Usage example: 100.scaled().screen(...).

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.powerSp(): PowerSp

EN Starts the build chain for PowerSp from a base TextUnit (Sp). Usage example: 16.sp.powerSp().screen(...).

EN Starts the build chain for PowerSp from a base Int (treated as sp). Usage example: 16.powerSp().screen(...).

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwhdpMode(modeValue: Number, uiModeType: UiModeType, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on Screen Height (hDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the device matches the specified uiModeType, it uses modeValue instead.

fun Int.pwhdpMode(modeValue: Number, uiModeType: UiModeType, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on Screen Height (hDP). Uses the base value by default, but when the device matches the specified uiModeType, it uses modeValue instead. Usage example: 30.hdpMode(50, UiModeType.TELEVISION) → 30.hdp by default, 50.hdp on television.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwhdpModePlain(modeValue: Number, uiModeType: UiModeType, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on Screen Height (hDP). Returns the original raw Dp value if the condition is not met. When the device matches the specified uiModeType, it uses modeValue instead.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwhdpModePlainPx(modeValue: Number, uiModeType: UiModeType, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of hdpModePlain. PT Variante em Pixel (Float) de hdpModePlain.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwhdpModePx(modeValue: Number, uiModeType: UiModeType, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float
fun Int.pwhdpModePx(modeValue: Number, uiModeType: UiModeType, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of hdpMode. PT Variante em Pixel (Float) de hdpMode.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwhdpQualifier(qualifiedValue: Number, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on Screen Height (hDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the screen metric for qualifierType is >= qualifierValue, it uses qualifiedValue instead.

fun Number.pwhdpQualifier(qualifiedValue: Number, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on Screen Height (hDP). Uses the base value by default, but when the screen metric for qualifierType is >= qualifierValue, it uses qualifiedValue instead. Usage example: 30.hdpQualifier(50, DpQualifier.HEIGHT, 800) → 30.hdp by default, 50.hdp when screenHeightDp >= 800.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwhdpQualifierPlain(qualifiedValue: Number, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on Screen Height (hDP). Returns the original raw Dp value if the condition is not met. When the screen metric for qualifierType is >= qualifierValue, it uses qualifiedValue instead.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwhdpQualifierPlainPx(qualifiedValue: Number, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of hdpQualifierPlain. PT Variante em Pixel (Float) de hdpQualifierPlain.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwhdpQualifierPx(qualifiedValue: Number, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float
fun Number.pwhdpQualifierPx(qualifiedValue: Number, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of hdpQualifier. PT Variante em Pixel (Float) de hdpQualifier.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwhdpRotate(rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.HEIGHT, orientation: Orientation = Orientation.LANDSCAPE, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on Screen Height (hDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the device is in the specified orientation, it uses rotationValue scaled with the given finalQualifierResolver.

fun Int.pwhdpRotate(rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.HEIGHT, orientation: Orientation = Orientation.LANDSCAPE, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on Screen Height (hDP). Uses the base value by default, but when the device is in the specified orientation, it uses rotationValue scaled with the given finalQualifierResolver. Usage example: 30.hdpRot(45, DpQualifier.HEIGHT, Orientation.LANDSCAPE) → 30.hdp by default, 45 scaled by HEIGHT in landscape.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwhdpRotatePlain(rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.HEIGHT, orientation: Orientation = Orientation.LANDSCAPE, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on Screen Height (hDP). Returns the original raw Dp value if the condition is not met. When the device is in the specified orientation, it uses rotationValue scaled with the given finalQualifierResolver.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwhdpRotatePlainPx(rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.HEIGHT, orientation: Orientation = Orientation.LANDSCAPE, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of hdpRotatePlain. PT Variante em Pixel (Float) de hdpRotatePlain.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwhdpRotatePx(rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.HEIGHT, orientation: Orientation = Orientation.LANDSCAPE, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float
fun Int.pwhdpRotatePx(rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.HEIGHT, orientation: Orientation = Orientation.LANDSCAPE, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of hdpRotate. PT Variante em Pixel (Float) de hdpRotate.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwhdpScreen(screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on Screen Height (hDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead.

fun Number.pwhdpScreen(screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on Screen Height (hDP). Uses the base value by default, but when the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead. Usage example: 30.hdpScreen(50, UiModeType.TELEVISION, DpQualifier.HEIGHT, 800) → 30.hdp by default, 50.hdp on television with height >= 800.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwhdpScreenPlain(screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on Screen Height (hDP). Returns the original raw Dp value if the condition is not met. When the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwhdpScreenPlainPx(screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of hdpScreenPlain. PT Variante em Pixel (Float) de hdpScreenPlain.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwhdpScreenPx(screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float
fun Number.pwhdpScreenPx(screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of hdpScreen. PT Variante em Pixel (Float) de hdpScreen.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwsdpMode(modeValue: Number, uiModeType: UiModeType, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on Smallest Width (swDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the device matches the specified uiModeType, it uses modeValue instead.

fun Int.pwsdpMode(modeValue: Number, uiModeType: UiModeType, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on Smallest Width (swDP). Uses the base value by default, but when the device matches the specified uiModeType, it uses modeValue instead. Usage example: 30.sdpMode(50, UiModeType.TELEVISION) → 30.sdp by default, 50.sdp on television.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwsdpModePlain(modeValue: Number, uiModeType: UiModeType, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on Smallest Width (swDP). Returns the original raw Dp value if the condition is not met. When the device matches the specified uiModeType, it uses modeValue instead.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwsdpModePlainPx(modeValue: Number, uiModeType: UiModeType, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of sdpModePlain. PT Variante em Pixel (Float) de sdpModePlain.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwsdpModePx(modeValue: Number, uiModeType: UiModeType, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float
fun Int.pwsdpModePx(modeValue: Number, uiModeType: UiModeType, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of sdpMode. PT Variante em Pixel (Float) de sdpMode.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwsdpQualifier(qualifiedValue: Number, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on Smallest Width (swDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the screen metric for qualifierType is >= qualifierValue, it uses qualifiedValue instead.

fun Number.pwsdpQualifier(qualifiedValue: Number, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on Smallest Width (swDP). Uses the base value by default, but when the screen metric for qualifierType is >= qualifierValue, it uses qualifiedValue instead. Usage example: 30.sdpQualifier(50, DpQualifier.SMALL_WIDTH, 600) → 30.sdp by default, 50.sdp when smallestScreenWidthDp >= 600.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwsdpQualifierPlain(qualifiedValue: Number, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on Smallest Width (swDP). Returns the original raw Dp value if the condition is not met. When the screen metric for qualifierType is >= qualifierValue, it uses qualifiedValue instead.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwsdpQualifierPlainPx(qualifiedValue: Number, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of sdpQualifierPlain. PT Variante em Pixel (Float) de sdpQualifierPlain.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwsdpQualifierPx(qualifiedValue: Number, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float
fun Number.pwsdpQualifierPx(qualifiedValue: Number, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of sdpQualifier. PT Variante em Pixel (Float) de sdpQualifier.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwsdpRotate(rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.SMALL_WIDTH, orientation: Orientation = Orientation.LANDSCAPE, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on Smallest Width (swDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the device is in the specified orientation, it uses rotationValue scaled with the given finalQualifierResolver.

fun Int.pwsdpRotate(rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.SMALL_WIDTH, orientation: Orientation = Orientation.LANDSCAPE, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on Smallest Width (swDP). Uses the base value by default, but when the device is in the specified orientation, it uses rotationValue scaled with the given finalQualifierResolver. Usage example: 30.sdpRot(45, DpQualifier.SMALL_WIDTH, Orientation.LANDSCAPE) → 30.sdp by default, 45 scaled by SMALL_WIDTH in landscape.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwsdpRotatePlain(rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.SMALL_WIDTH, orientation: Orientation = Orientation.LANDSCAPE, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on Smallest Width (swDP). Returns the original raw Dp value if the condition is not met. When the device is in the specified orientation, it uses rotationValue scaled with the given finalQualifierResolver.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwsdpRotatePlainPx(rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.SMALL_WIDTH, orientation: Orientation = Orientation.LANDSCAPE, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of sdpRotatePlain. PT Variante em Pixel (Float) de sdpRotatePlain.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwsdpRotatePx(rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.SMALL_WIDTH, orientation: Orientation = Orientation.LANDSCAPE, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float
fun Int.pwsdpRotatePx(rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.SMALL_WIDTH, orientation: Orientation = Orientation.LANDSCAPE, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of sdpRotate. PT Variante em Pixel (Float) de sdpRotate.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwsdpScreen(screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on Smallest Width (swDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead.

fun Number.pwsdpScreen(screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on Smallest Width (swDP). Uses the base value by default, but when the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead. Usage example: 30.sdpScreen(50, UiModeType.TELEVISION, DpQualifier.SMALL_WIDTH, 600) → 30.sdp by default, 50.sdp on television with sw >= 600.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwsdpScreenPlain(screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on Smallest Width (swDP). Returns the original raw Dp value if the condition is not met. When the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwsdpScreenPlainPx(screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of sdpScreenPlain. PT Variante em Pixel (Float) de sdpScreenPlain.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwsdpScreenPx(screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float
fun Number.pwsdpScreenPx(screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of sdpScreen. PT Variante em Pixel (Float) de sdpScreen.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwwdpMode(modeValue: Number, uiModeType: UiModeType, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on Screen Width (wDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the device matches the specified uiModeType, it uses modeValue instead.

fun Int.pwwdpMode(modeValue: Number, uiModeType: UiModeType, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on Screen Width (wDP). Uses the base value by default, but when the device matches the specified uiModeType, it uses modeValue instead. Usage example: 30.wdpMode(50, UiModeType.TELEVISION) → 30.wdp by default, 50.wdp on television.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwwdpModePlain(modeValue: Number, uiModeType: UiModeType, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on Screen Width (wDP). Returns the original raw Dp value if the condition is not met. When the device matches the specified uiModeType, it uses modeValue instead.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwwdpModePlainPx(modeValue: Number, uiModeType: UiModeType, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of wdpModePlain. PT Variante em Pixel (Float) de wdpModePlain.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwwdpModePx(modeValue: Number, uiModeType: UiModeType, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float
fun Int.pwwdpModePx(modeValue: Number, uiModeType: UiModeType, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of wdpMode. PT Variante em Pixel (Float) de wdpMode.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwwdpQualifier(qualifiedValue: Number, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on Screen Width (wDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the screen metric for qualifierType is >= qualifierValue, it uses qualifiedValue instead.

fun Number.pwwdpQualifier(qualifiedValue: Number, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on Screen Width (wDP). Uses the base value by default, but when the screen metric for qualifierType is >= qualifierValue, it uses qualifiedValue instead. Usage example: 30.wdpQualifier(50, DpQualifier.WIDTH, 600) → 30.wdp by default, 50.wdp when screenWidthDp >= 600.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwwdpQualifierPlain(qualifiedValue: Number, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on Screen Width (wDP). Returns the original raw Dp value if the condition is not met. When the screen metric for qualifierType is >= qualifierValue, it uses qualifiedValue instead.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwwdpQualifierPlainPx(qualifiedValue: Number, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of wdpQualifierPlain. PT Variante em Pixel (Float) de wdpQualifierPlain.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwwdpQualifierPx(qualifiedValue: Number, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float
fun Number.pwwdpQualifierPx(qualifiedValue: Number, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of wdpQualifier. PT Variante em Pixel (Float) de wdpQualifier.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwwdpRotate(rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.WIDTH, orientation: Orientation = Orientation.LANDSCAPE, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on Screen Width (wDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the device is in the specified orientation, it uses rotationValue scaled with the given finalQualifierResolver.

fun Int.pwwdpRotate(rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.WIDTH, orientation: Orientation = Orientation.LANDSCAPE, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on Screen Width (wDP). Uses the base value by default, but when the device is in the specified orientation, it uses rotationValue scaled with the given finalQualifierResolver. Usage example: 30.wdpRot(45, DpQualifier.WIDTH, Orientation.LANDSCAPE) → 30.wdp by default, 45 scaled by WIDTH in landscape.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwwdpRotatePlain(rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.WIDTH, orientation: Orientation = Orientation.LANDSCAPE, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on Screen Width (wDP). Returns the original raw Dp value if the condition is not met. When the device is in the specified orientation, it uses rotationValue scaled with the given finalQualifierResolver.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwwdpRotatePlainPx(rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.WIDTH, orientation: Orientation = Orientation.LANDSCAPE, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of wdpRotatePlain. PT Variante em Pixel (Float) de wdpRotatePlain.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwwdpRotatePx(rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.WIDTH, orientation: Orientation = Orientation.LANDSCAPE, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float
fun Int.pwwdpRotatePx(rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.WIDTH, orientation: Orientation = Orientation.LANDSCAPE, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of wdpRotate. PT Variante em Pixel (Float) de wdpRotate.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwwdpScreen(screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on Screen Width (wDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead.

fun Number.pwwdpScreen(screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on Screen Width (wDP). Uses the base value by default, but when the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead. Usage example: 30.wdpScreen(50, UiModeType.TELEVISION, DpQualifier.WIDTH, 600) → 30.wdp by default, 50.wdp on television with width >= 600.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwwdpScreenPlain(screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for Dp

EN Extension for Dp with dynamic scaling based on Screen Width (wDP). Returns the original raw Dp value if the condition is not met. When the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwwdpScreenPlainPx(screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of wdpScreenPlain. PT Variante em Pixel (Float) de wdpScreenPlain.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for Dp.pwwdpScreenPx(screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float
fun Number.pwwdpScreenPx(screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of wdpScreen. PT Variante em Pixel (Float) de wdpScreen.

Link copied to clipboard
internal fun rememberPowerDp(cacheKey: Long, layoutStamp: Long, androidContext: Context, baseValue: Float, configuration: Configuration, qualifier: DpQualifier, inverter: Inverter, ignoreMultiWindows: Boolean, applyAspectRatio: Boolean, customSensitivityK: Float?): ERROR CLASS: Symbol not found for Dp
Link copied to clipboard
internal fun rememberPowerPxFromDp(cacheKey: Long, pxStamp: Long, androidContext: Context, density: ERROR CLASS: Symbol not found for Density, baseValue: Float, configuration: Configuration, qualifier: DpQualifier, inverter: Inverter, ignoreMultiWindows: Boolean, applyAspectRatio: Boolean, customSensitivityK: Float?): Float
Link copied to clipboard
internal fun rememberPowerSp(cacheKey: Long, spStamp: Long, androidContext: Context, density: ERROR CLASS: Symbol not found for Density, baseValue: Float, configuration: Configuration, qualifier: DpQualifier, inverter: Inverter, fontScale: Boolean, ignoreMultiWindows: Boolean, applyAspectRatio: Boolean, customSensitivityK: Float?): ERROR CLASS: Symbol not found for TextUnit

EN remembers the cached TextUnit for toDynamicPowerSp using cacheKey and spStamp. PT remember do TextUnit em cache para toDynamicPowerSp usando cacheKey e spStamp.

Link copied to clipboard
internal fun rememberPowerSpPx(cacheKey: Long, sspPxStamp: Long, androidContext: Context, density: ERROR CLASS: Symbol not found for Density, baseValue: Float, configuration: Configuration, qualifier: DpQualifier, inverter: Inverter, fontScale: Boolean, ignoreMultiWindows: Boolean, applyAspectRatio: Boolean, customSensitivityK: Float?): Float

EN remembers the cached px Float for toDynamicPowerPx using cacheKey and sspPxStamp. PT remember do Float em px para toDynamicPowerPx usando cacheKey e sspPxStamp.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.sspMode(modeValue: Number, uiModeType: UiModeType, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for TextUnit

EN Extension for TextUnit (Sp) with dynamic scaling based on Smallest Width (swDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the device matches the specified uiModeType, it uses modeValue instead.

fun Number.sspMode(modeValue: Number, uiModeType: UiModeType, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for TextUnit

EN Extension for Int with dynamic scaling based on Smallest Width (swDP). Uses the base value by default, but when the device matches the specified uiModeType, it uses modeValue instead.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.sspModePlain(modeValue: Number, uiModeType: UiModeType, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for TextUnit

EN Extension for TextUnit (Sp) with dynamic scaling based on Smallest Width (swDP). Returns the original raw TextUnit value if the condition is not met. When the device matches the specified uiModeType, it uses modeValue instead.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.sspModePlainPx(modeValue: Number, uiModeType: UiModeType, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float
Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.sspModePx(modeValue: Number, uiModeType: UiModeType, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float
fun Number.sspModePx(modeValue: Number, uiModeType: UiModeType, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of sspMode. PT Variante em Pixel (Float) de sspMode.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.sspQualifier(qualifiedValue: Number, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for TextUnit

EN Extension for TextUnit (Sp) with dynamic scaling based on Smallest Width (swDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the screen metric for qualifierType is >= qualifierValue, it uses qualifiedValue instead.

fun Number.sspQualifier(qualifiedValue: Number, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for TextUnit

EN Extension for TextUnit (Sp) with dynamic scaling based on Smallest Width (swDP). Uses the base value by default, but when the screen metric for qualifierType is >= qualifierValue, it uses qualifiedValue instead. Usage example: 30.sspQualifier(50, DpQualifier.SMALL_WIDTH, 600) → 30.pwssp by default, 50.pwssp when smallestScreenWidthDp >= 600.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.sspQualifierPlain(qualifiedValue: Number, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for TextUnit

EN Extension for TextUnit (Sp) with dynamic scaling based on Smallest Width (swDP). Returns the original raw TextUnit value if the condition is not met. When the screen metric for qualifierType is >= qualifierValue, it uses qualifiedValue instead.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.sspQualifierPlainPx(qualifiedValue: Number, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of sspQualifierPlain. PT Variante em Pixel (Float) de sspQualifierPlain.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.sspQualifierPx(qualifiedValue: Number, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float
fun Number.sspQualifierPx(qualifiedValue: Number, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of sspQualifier. PT Variante em Pixel (Float) de sspQualifier.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.sspRotate(rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.SMALL_WIDTH, orientation: Orientation = Orientation.LANDSCAPE, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for TextUnit

EN Extension for TextUnit (Sp) with dynamic scaling based on Smallest Width (swDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the device is in the specified orientation, it uses rotationValue scaled with the given finalQualifierResolver.

fun Number.sspRotate(rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.SMALL_WIDTH, orientation: Orientation = Orientation.LANDSCAPE, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for TextUnit

EN Extension for Int with dynamic scaling based on Smallest Width (swDP). Uses the base value by default, but when the device is in the specified orientation, it uses rotationValue scaled with the given finalQualifierResolver.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.sspRotatePlain(rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.SMALL_WIDTH, orientation: Orientation = Orientation.LANDSCAPE, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for TextUnit

EN Extension for TextUnit (Sp) with dynamic scaling based on Smallest Width (swDP). Returns the original raw TextUnit value if the condition is not met. When the device is in the specified orientation, it uses rotationValue scaled with the given finalQualifierResolver.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.sspRotatePlainPx(rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.SMALL_WIDTH, orientation: Orientation = Orientation.LANDSCAPE, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of sspRotatePlain. PT Variante em Pixel (Float) de sspRotatePlain.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.sspRotatePx(rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.SMALL_WIDTH, orientation: Orientation = Orientation.LANDSCAPE, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float
fun Number.sspRotatePx(rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.SMALL_WIDTH, orientation: Orientation = Orientation.LANDSCAPE, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of sspRotate. PT Variante em Pixel (Float) de sspRotate.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.sspScreen(screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for TextUnit

EN Extension for TextUnit (Sp) with dynamic scaling based on Smallest Width (swDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead.

fun Number.sspScreen(screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for TextUnit

EN Extension for TextUnit (Sp) with dynamic scaling based on Smallest Width (swDP). Uses the base value by default, but when the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead. Usage example: 30.sspScreen(50, UiModeType.TELEVISION, DpQualifier.SMALL_WIDTH, 600) → 30.pwssp by default, 50.pwssp on television with sw >= 600.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.sspScreenPlain(screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for TextUnit

EN Extension for TextUnit (Sp) with dynamic scaling based on Smallest Width (swDP). Returns the original raw TextUnit value if the condition is not met. When the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.sspScreenPlainPx(screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of sspScreenPlain. PT Variante em Pixel (Float) de sspScreenPlain.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.sspScreenPx(screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float
fun Number.sspScreenPx(screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of sspScreen. PT Variante em Pixel (Float) de sspScreen.

Link copied to clipboard
fun Number.toDynamicPowerDp(qualifier: DpQualifier, inverter: Inverter = Inverter.DEFAULT, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for Dp

EN Converts a Number (base Dp value) into a dynamically scaled Dp for use in Jetpack Compose.

Link copied to clipboard
fun Number.toDynamicPowerPx(qualifier: DpQualifier, inverter: Inverter = Inverter.DEFAULT, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Converts a Number (base Dp value) into a dynamically scaled pixel Float for Jetpack Compose.

fun Number.toDynamicPowerPx(qualifier: DpQualifier, fontScale: Boolean, inverter: Inverter = Inverter.DEFAULT, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Converts a Number (base value) into a dynamically scaled pixel Float for Compose.

Link copied to clipboard
fun Number.toDynamicPowerSp(qualifier: DpQualifier, fontScale: Boolean, inverter: Inverter = Inverter.DEFAULT, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for TextUnit

EN Converts a Number (base value) into a dynamically scaled TextUnit (Sp) for Jetpack Compose.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.wspMode(modeValue: Number, uiModeType: UiModeType, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for TextUnit

EN Extension for TextUnit (Sp) with dynamic scaling based on Screen Width (wDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the device matches the specified uiModeType, it uses modeValue instead.

fun Number.wspMode(modeValue: Number, uiModeType: UiModeType, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for TextUnit

EN Extension for Int with dynamic scaling based on Screen Width (wDP).

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.wspModePlain(modeValue: Number, uiModeType: UiModeType, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for TextUnit

EN Extension for TextUnit (Sp) with dynamic scaling based on Screen Width (wDP). Returns the original raw TextUnit value if the condition is not met. When the device matches the specified uiModeType, it uses modeValue instead.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.wspModePlainPx(modeValue: Number, uiModeType: UiModeType, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float
Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.wspModePx(modeValue: Number, uiModeType: UiModeType, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float
fun Number.wspModePx(modeValue: Number, uiModeType: UiModeType, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of wspMode. PT Variante em Pixel (Float) de wspMode.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.wspQualifier(qualifiedValue: Number, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for TextUnit

EN Extension for TextUnit (Sp) with dynamic scaling based on Screen Width (wDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the screen metric for qualifierType is >= qualifierValue, it uses qualifiedValue instead.

fun Number.wspQualifier(qualifiedValue: Number, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for TextUnit

EN Extension for TextUnit (Sp) with dynamic scaling based on Screen Width (wDP). Uses the base value by default, but when the screen metric for qualifierType is >= qualifierValue, it uses qualifiedValue instead. Usage example: 30.wspQualifier(50, DpQualifier.WIDTH, 600) → 30.pwwsp by default, 50.pwwsp when screenWidthDp >= 600.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.wspQualifierPlain(qualifiedValue: Number, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for TextUnit

EN Extension for TextUnit (Sp) with dynamic scaling based on Screen Width (wDP). Returns the original raw TextUnit value if the condition is not met. When the screen metric for qualifierType is >= qualifierValue, it uses qualifiedValue instead.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.wspQualifierPlainPx(qualifiedValue: Number, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of wspQualifierPlain. PT Variante em Pixel (Float) de wspQualifierPlain.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.wspQualifierPx(qualifiedValue: Number, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float
fun Number.wspQualifierPx(qualifiedValue: Number, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of wspQualifier. PT Variante em Pixel (Float) de wspQualifier.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.wspRotate(rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.WIDTH, orientation: Orientation = Orientation.LANDSCAPE, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for TextUnit

EN Extension for TextUnit (Sp) with dynamic scaling based on Screen Width (wDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the device is in the specified orientation, it uses rotationValue scaled with the given finalQualifierResolver.

fun Number.wspRotate(rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.WIDTH, orientation: Orientation = Orientation.LANDSCAPE, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for TextUnit

EN Extension for Int with dynamic scaling based on Screen Width (wDP).

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.wspRotatePlain(rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.WIDTH, orientation: Orientation = Orientation.LANDSCAPE, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for TextUnit

EN Extension for TextUnit (Sp) with dynamic scaling based on Screen Width (wDP). Returns the original raw TextUnit value if the condition is not met. When the device is in the specified orientation, it uses rotationValue scaled with the given finalQualifierResolver.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.wspRotatePlainPx(rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.WIDTH, orientation: Orientation = Orientation.LANDSCAPE, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of wspRotatePlain. PT Variante em Pixel (Float) de wspRotatePlain.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.wspRotatePx(rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.WIDTH, orientation: Orientation = Orientation.LANDSCAPE, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float
fun Number.wspRotatePx(rotationValue: Number, finalQualifierResolver: DpQualifier = DpQualifier.WIDTH, orientation: Orientation = Orientation.LANDSCAPE, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of wspRotate. PT Variante em Pixel (Float) de wspRotate.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.wspScreen(screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for TextUnit

EN Extension for TextUnit (Sp) with dynamic scaling based on Screen Width (wDP). Returns the original value auto-scaled using the specified qualifier if the condition is not met. When the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead.

fun Number.wspScreen(screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for TextUnit

EN Extension for TextUnit (Sp) with dynamic scaling based on Screen Width (wDP). Uses the base value by default, but when the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead. Usage example: 30.wspScreen(50, UiModeType.TELEVISION, DpQualifier.WIDTH, 600) → 30.pwwsp by default, 50.pwwsp on television with width >= 600.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.wspScreenPlain(screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): ERROR CLASS: Symbol not found for TextUnit

EN Extension for TextUnit (Sp) with dynamic scaling based on Screen Width (wDP). Returns the original raw TextUnit value if the condition is not met. When the device matches uiModeType AND the screen metric for qualifierType is >= qualifierValue, it uses screenValue instead.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.wspScreenPlainPx(screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of wspScreenPlain. PT Variante em Pixel (Float) de wspScreenPlain.

Link copied to clipboard
fun ERROR CLASS: Symbol not found for TextUnit.wspScreenPx(screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float
fun Number.wspScreenPx(screenValue: Number, uiModeType: UiModeType, qualifierType: DpQualifier, qualifierValue: Number, finalQualifierResolver: DpQualifier? = null, fontScale: Boolean = true, ignoreMultiWindows: Boolean = false, applyAspectRatio: Boolean = false, customSensitivityK: Float? = null): Float

EN Pixel (Float) variant of wspScreen. PT Variante em Pixel (Float) de wspScreen.